home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / g_man / cat3 / OpenGL / glloadidentity.z / glloadidentity
Encoding:
Text File  |  1998-10-20  |  3.4 KB  |  75 lines

  1.  
  2.  
  3.  
  4. ggggllllLLLLooooaaaaddddIIIIddddeeeennnnttttiiiittttyyyy((((3333GGGG))))             OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee             ggggllllLLLLooooaaaaddddIIIIddddeeeennnnttttiiiittttyyyy((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggllllLLLLooooaaaaddddIIIIddddeeeennnnttttiiiittttyyyy - replace the current matrix with the identity matrix
  10.  
  11.  
  12. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  13.      void ggggllllLLLLooooaaaaddddIIIIddddeeeennnnttttiiiittttyyyy( void )
  14.  
  15.  
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      ggggllllLLLLooooaaaaddddIIIIddddeeeennnnttttiiiittttyyyy replaces the current matrix with the identity matrix.  It
  19.      is semantically equivalent to calling ggggllllLLLLooooaaaaddddMMMMaaaattttrrrriiiixxxx with the identity
  20.      matrix
  21.  
  22.  
  23.  
  24.  
  25.                                 |                 |
  26.                                    1    0    0    0
  27.                                 |                 |
  28.  
  29.                                 |   0    1    0    0  |
  30.  
  31.                                 |                 |
  32.                                    0    0    1    0
  33.                                 |                 |
  34.  
  35.                                 | 0   0   0   1  |
  36.  
  37.  
  38.      but in some cases it is more efficient.
  39.  
  40. EEEERRRRRRRROOOORRRRSSSS
  41.      GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ggggllllLLLLooooaaaaddddIIIIddddeeeennnnttttiiiittttyyyy is executed between
  42.      the execution of ggggllllBBBBeeeeggggiiiinnnn and the corresponding execution of ggggllllEEEEnnnndddd.
  43.  
  44. AAAASSSSSSSSOOOOCCCCIIIIAAAATTTTEEEEDDDD GGGGEEEETTTTSSSS
  45.      ggggllllGGGGeeeetttt with argument GGGGLLLL____MMMMAAAATTTTRRRRIIIIXXXX____MMMMOOOODDDDEEEE
  46.      ggggllllGGGGeeeetttt with argument GGGGLLLL____MMMMOOOODDDDEEEELLLLVVVVIIIIEEEEWWWW____MMMMAAAATTTTRRRRIIIIXXXX
  47.      ggggllllGGGGeeeetttt with argument GGGGLLLL____PPPPRRRROOOOJJJJEEEECCCCTTTTIIIIOOOONNNN____MMMMAAAATTTTRRRRIIIIXXXX
  48.      ggggllllGGGGeeeetttt with argument GGGGLLLL____TTTTEEEEXXXXTTTTUUUURRRREEEE____MMMMAAAATTTTRRRRIIIIXXXX
  49.  
  50.  
  51. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  52.      ggggllllLLLLooooaaaaddddMMMMaaaattttrrrriiiixxxx, ggggllllMMMMaaaattttrrrriiiixxxxMMMMooooddddeeee, ggggllllMMMMuuuullllttttMMMMaaaattttrrrriiiixxxx, ggggllllPPPPuuuusssshhhhMMMMaaaattttrrrriiiixxxx
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.                                                                         PPPPaaaaggggeeee 1111
  72.  
  73.  
  74.  
  75.